﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DONGACS.DAO;
namespace DONGACS.SERVICE
{
   public class DoanRaService
    {
       DoanRaDao  DoanRaDao = new DoanRaDao();
       public DataTable GetDoanRaByIdReport(string id)
        {
            DataTable table = DoanRaDao.GetDoanRaByIdReport(id);
            return table;
        }
       public DataTable GetHoSoDinhKemByIdReport(string id)
       {
           DataTable table = DoanRaDao.GetHoSoDinhKemByIdReport(id);
           return table;
       }
       public DataTable GetDoanRaByIdBienNhan(string id)
       {
           DataTable table = DoanRaDao.GetDoanRaByIdBienNhan(id);
           return table;
       }
       public DataTable GetThanhPhanDoanByIdDoanRaReport(string id)
        {
            DataTable table = DoanRaDao.GetThanhPhanDoanByIdDoanRaReport(id);
            return table;
        }
       public DataTable GetThongTinHoChieuBySoHoChieu(string SoHoChieu)
        {
            DataTable table = DoanRaDao.GetThongTinHoChieuBySoHoChieu(SoHoChieu);
            return table;
        }
       public DataTable GetNoiDungBaoCaoByIdDoanRaReport(string id)
        {
            DataTable table = DoanRaDao.GetNoiDungBaoCaoByIdDoanRaReport(id);
            return table;
        }
        public DataTable GetDanhSachDoanVaoTheoNuocDen(DateTime TuNgay, DateTime DenNgay)
       {
           DataTable table = DoanRaDao.GetAllDanhSachDoanRaTheoNuoc(TuNgay, DenNgay);
           return table;
       }
       public DataTable GetBaoCaoTongHopDoanRa(DateTime TuNgay,DateTime DenNgay)
        {
            DataTable table = DoanRaDao.BaoCaoTongHopDoanRao(TuNgay, DenNgay);
            return table;
        }
       public DataTable GetBaoCaoTongHopDoanRaKinhPhi(DateTime TuNgay,DateTime DenNgay)
        {
            DataTable table = DoanRaDao.BaoCaoTongHopDoanRaoKinhPhi(TuNgay, DenNgay);
            return table;
        }
       
    }
}
